//
//  XMConversationToolsView.h
//  XunMi
//
//  Created by MacBook on 2024/4/10.
//  Copyright © 2024 TieZhu. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, XMConversationToolsType) {
    XMConversationToolsGuard = 1,
    XMConversationToolsVideo,
    XMConversationToolsGift,
    XMConversationToolsAudio,
    XMConversationToolsBox
};

NS_ASSUME_NONNULL_BEGIN

@interface XMConversationToolsModel : NSObject
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *img;
@property (nonatomic, assign) XMConversationToolsType type;

- (instancetype)initWithName:(NSString *)name img:(NSString *)img type:(XMConversationToolsType)type;
@end

@interface XMConversationToolsCell : UICollectionViewCell
@property (nonatomic, strong) UIButton *button;
@property (nonatomic, strong) XMConversationToolsModel *model;
@property (nonatomic, copy) void(^clickBlock)(XMConversationToolsModel *model);

@end

@interface XMConversationToolsView : UIView

@property (nonatomic, copy) void(^clickBlock)(XMConversationToolsType type);

@end

NS_ASSUME_NONNULL_END
